﻿@model IEnumerable<PessModel.Activity>

@{
    ViewBag.Title = "Choose Event";
}

<h2>Choose Event</h2>

<div class="displayConScroe">
    <table>
        <tr>
            <th>
                @Html.DisplayNameFor(model => model.Name)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.Description)
            </th>
            @*<th>
                @Html.DisplayNameFor(model => model.StartDate)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.DueDate)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.AdminYear)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.Status)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.TypeID)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.ReviewStartDate)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.ReviewDueDate)
            </th>*@
            <th>
                @Html.DisplayNameFor(model => model.UploadStartDate)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.UploadDueDate)
            </th>

            <th></th>
        </tr>

        @foreach (var item in Model)
        {
            <tr>
                <td>
                    @Html.DisplayFor(modelItem => item.Name)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.Description)
                </td>
                @*<td>
                    @Html.DisplayFor(modelItem => item.StartDate)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.DueDate)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.AdminYear)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.Status)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.TypeID)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.ReviewStartDate)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.ReviewDueDate)
                </td>*@
                <td>
                    @Html.DisplayFor(modelItem => item.UploadStartDate)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.UploadDueDate)
                </td>

                <td>
                    @Html.ActionLink("Choose", "CreateProposal", new { activityID = item.ID })
                </td>
            </tr>
        }

    </table>
</div>